/*
 * Copyright (C) 2006-2015
 * 版权所有者为北京捷越联合信息咨询有限公司。本系统是商用软件,未经授权擅自复制或传播本程序的部分或全部将是非法的。
 * @title: Response4008DTO.java
 * @package com.jy.modules.cims.data.interact.core.loan.response
 * @author yanjingying
 * @date 2015-12-11 下午14:02:12
 * @version v1.00
 * @description: TODO(用一句话描述该文件做什么)
 */

package com.jy.modules.cims.data.interact.core.loan.request;

import java.util.List;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotBlank;

import com.jy.modules.cims.data.interact.core.BaseHeaderRequestDTO;

/**
 * 
 * @classname: Request4037DTO.java
 * @description: 合同机构贷款回购Request
 *
 */
public class Request4037DTO extends BaseHeaderRequestDTO {
	
	@NotBlank(message="批次号batchId不能为空")
    private String batchId;
	
	@NotBlank(message="合作机构代码CCode不能为空")
	private String cCode;
	
	@Valid
	@NotNull(message = "贷款回购列表transferList不能为空")
	@Size(min = 1, message = "贷款回购列表transferList不能为空")
	private List<RequestLoanBuyBackDTO> transferList;//放款对象

	public String getBatchId() {
		return batchId;
	}

	public void setBatchId(String batchId) {
		this.batchId = batchId;
	}
	
	public String getCCode() {
		return cCode;
	}
	public void setCCode(String cCode) {
		this.cCode = cCode;
	}

	public List<RequestLoanBuyBackDTO> getTransferList() {
		return transferList;
	}

	public void setTransferList(List<RequestLoanBuyBackDTO> transferList) {
		this.transferList = transferList;
	}
}

